package xyz.naoyu;

import com.alibaba.fastjson.JSONObject;

/**
 * @author yWieLoc
 * @date 2022/3/14 17:42
 */
public class settings {
    public static final String driver = "org.apache.phoenix.jdbc.PhoenixDriver";
    public static final String url = "jdbc:phoenix:106.54.160.227:2181/hbase";
    public static final String exampleTable = "TEST0";


    /**
     * 物 - 基础状态
     */
    enum states {
        LOCK,PENGDING,VISABLE;
    }

    public static JSONObject state = new JSONObject();

    static {
        for (verifys a:verifys.values()) {
            state.put(a.toString(),a.toString());
        }
    }

    /**
     * 认证
     */
    enum verifys {
        agreement,currency,entityBase
        ,group,item,order,talk,user;
    }

    public static JSONObject verify = new JSONObject();

    static {
        for (verifys a:verifys.values()) {
            verify.put(a.toString(),true);
        }
        verify.put(String.valueOf(verifys.talk),false);
    }


}
